'''py_function.py - Python source designed to '''
'''demonstrate the use of python embedding'''

def multiply(*args):
    c = 1
    if len(args) != 0:
        for v in args:
            c *= v;
        print 'The result of %s' %(' x '.join(map(lambda x: str(x), args))), ':', c

    else:
        c = 12345*6789
        print 'The result of 12345 x 6789 :', c

    return c
